package org.lanqiao.controller;

import javax.servlet.http.HttpServletRequest;

import org.lanqiao.service.Videoservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/video")
public class VideoController {
	@Autowired
	Videoservice videoservie;
	@RequestMapping("/video.do")
	public String allvideo(HttpServletRequest request ) {
		request.setAttribute("Videos", videoservie.allvideo());
		return "musicbox";
	}
}
